{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# matplotlib绘制直方图和箱线图"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "import matplotlib.pyplot as plt\n",
    "import numpy as np"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##  直方图--hist"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([10028.04120998, 12459.10740769,  8242.69189044, 11943.96236085,\n",
       "       10542.65652418,  9663.53900766,  5789.8700083 ,  8431.51250753,\n",
       "        9765.00433282,  7625.91904349, 10305.49046437,  7249.21484903,\n",
       "       11450.54121506, 11018.16241713,  8686.76656983,  7406.15886944,\n",
       "       12089.1980554 ,  7685.59313189,  5645.04526123, 13856.94498203,\n",
       "       13624.81552354,  8244.36258236,  6472.69278525,  9553.55607169,\n",
       "       11811.24660333, 11193.0010315 , 13084.66837544,  8021.28582239,\n",
       "        9167.02804456,  9667.19882567,  4670.34901432,  6730.94308322,\n",
       "       11449.36203306, 11251.3342846 ,  7632.1592176 , 12568.86680409,\n",
       "        4930.80285342,  5302.69645826,  7366.68251498,  6995.48478956,\n",
       "        9021.94368969,  7161.18379357, 12899.24422427,  6050.06970261,\n",
       "       10072.5232595 ,  4159.26449153, 13412.14159984,  5435.94720805,\n",
       "        7350.76141939,  6179.86151537,  6516.2029069 ,  9326.5904035 ,\n",
       "       10523.42877148,  6413.31796047, 12748.40922818,  8761.16626225,\n",
       "        6330.8055562 ,  6354.60483155,  9055.91684846,  9713.53386577,\n",
       "        9040.64564589,  4093.41180186,  5867.37036687, 10839.11664506,\n",
       "       11208.61563997, 12080.7643182 ,  4703.42816682, 10098.2796785 ,\n",
       "        8004.66859484,  6932.34606573, 15103.82268451,  7347.85676426,\n",
       "       11251.35999098,  5079.02298276, 10741.72000738,  5686.43072201,\n",
       "       11070.36441067, 11060.67019842,  4299.93741126, 11714.9223644 ,\n",
       "       11336.46719797, 10284.69861179,  9326.61596969,  9084.85090447,\n",
       "        7263.52252563,  5401.64640242, 10107.49187132, 14629.72028089,\n",
       "        7869.28994949, 14495.80824548,  9009.05230209,  8771.92960283,\n",
       "        9011.87278196,  8444.95766731,  5591.21697952,  9099.95183442,\n",
       "        8253.33399883,  7649.47069497,  9397.28340345,  9066.64178412,\n",
       "        9952.10392782,  6742.75746682,  5110.82457855,  9285.4183307 ,\n",
       "        7728.85470017,  5442.04930521,  7903.61402197,  5186.93087746,\n",
       "       13758.51281527, 11080.17197555,  8595.59606403,  4378.15192634,\n",
       "       15140.14190545,  4809.00196514,  5708.48404608,  8283.86139206,\n",
       "        4712.79930466, 11847.01432952,  8941.80724211, 11683.79311728,\n",
       "       11279.07935955,  4506.83885675,  5418.34206962, 12888.7877592 ,\n",
       "       11856.82687825,  5348.23760808,  8528.20449787,  4477.24451921,\n",
       "        9323.65239242, 11241.1669653 , 10289.02930759,  4754.87123744,\n",
       "        7077.72023097, 11338.87891099,  7685.63725095, 15224.37950384,\n",
       "        7970.10695345,  7150.11188495, 11289.55093818,  9578.75157547,\n",
       "        7954.62320804, 15895.96182214,  8504.37134208, 10398.89810507,\n",
       "        9809.96171589,  8040.50685865,  5556.77520037, 14110.87196436,\n",
       "        6833.54768983, 12281.05994898,  8311.44674028,  8973.30401012,\n",
       "        7370.40597478, 11259.18656308,  4171.68331148, 14829.7867903 ,\n",
       "        4657.69166304,  9390.74536606, 11848.08259398,  8761.3782392 ,\n",
       "        9903.14839136,  9667.17242834,  6945.23479426,  8621.39644886,\n",
       "       14970.82094926, 10568.99341356,  8950.96379173,  7752.55099248,\n",
       "        4924.49118972,  7456.71032589,  8351.81963999, 10267.14066127,\n",
       "        5717.8712069 , 12710.72365557,  8309.14596472,  6886.74540079,\n",
       "        7225.87463674, 11210.98550705, 10307.60175754, 14327.98075652,\n",
       "       10539.22313652, 12511.58094884, 15233.13669675,  7632.23394236,\n",
       "       10947.51878176,  8475.65533665, 12051.79302975,  7200.05086545,\n",
       "       13728.50017296, 10813.27061577,  6278.90874756, 10776.06980808,\n",
       "        7688.80675305,  9305.32731891, 12925.04047993, 13162.80543423,\n",
       "        9865.13226068,  7982.74370017, 10582.10739847,  7877.09134876,\n",
       "       10431.27689225,  4710.71201329, 10223.11957493,  6515.15882176,\n",
       "       10270.37184551,  8521.44790499, 12723.24626159, 13990.60893221,\n",
       "        7014.18685522, 19395.68144544, 10174.31585782,  9981.73605893,\n",
       "        8065.95881829,  4726.03323396,  7125.38344398,  8670.01381224,\n",
       "       11858.87828398,  6049.91206907,  5716.32843115,  8275.95375134,\n",
       "        7214.65848253,  6051.56431565,  9264.68980328,  7191.72189053,\n",
       "       12376.66635895, 11781.1598964 ,  7955.4880868 ,  8507.92379197,\n",
       "       12649.74177109,  7119.43828582,  8175.18057633, 12442.37231554,\n",
       "       12479.90692223, 11106.55351608,  5148.28556816, 13566.92330363,\n",
       "        8460.11004705,  7871.55789715, 10381.04763199, 13366.26438221,\n",
       "        9724.52066363,  8886.99998821, 11494.59908972, 15898.10840627,\n",
       "        6181.19267082,  9335.46773563, 16618.29609933, 10210.79524628,\n",
       "       12832.35609559,  7663.23520858,  5189.04588322, 10906.50350459,\n",
       "        8104.69298672,  7793.13023521,  7390.07871956, 11469.373205  ,\n",
       "        9075.57570982, 13552.60838506, 10108.83345202,  7558.10351349,\n",
       "       12126.99822906, 12296.6279597 , 11277.61299421,  8144.45738963,\n",
       "       10441.23423381, 10404.00206461, 17127.0058421 , 15057.25835019,\n",
       "       11242.21025472,  7230.87423976,  6559.72552627,  8469.30940697,\n",
       "       10521.14250593,  8199.66550729,  6431.81393401, 13677.94457067,\n",
       "        5721.93340612, 11274.1274945 ,  5401.6800916 ,  9529.11143447,\n",
       "        6372.8074752 ,  9352.8253688 ,  6125.49499326,  9547.02818246])"
      ]
     },
     "execution_count": 2,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "np.random.seed(100)\n",
    "data = np.random.normal(9000, 3000, size=300)\n",
    "data = data[data>=4000]\n",
    "data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYAAAAD8CAYAAAB+UHOxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAAERFJREFUeJzt3X2MZXV9x/H3p6yoVSssTLdbwCxWXKN/CDpFibZR8IGqKTQxVGPMVmmWPmjUmlrQpLZN/6ja1Ie0UTai3bb4QFELIbaUbrEPfxRdFJSnLQtCXQLsaKVa/6ii3/5xfwuXcZe5O3POzGx+71cyuefp3vPZ38ydz55z7r2TqkKS1J+fWOsAkqS1YQFIUqcsAEnqlAUgSZ2yACSpUxaAJHXKApCkTlkAktQpC0CSOrVhNXd2/PHH15YtW1Zzl5J0xLv++uu/WVVzQz/uqhbAli1b2L1792ruUpKOeEnuHuNxPQUkSZ2yACSpUxaAJHXKApCkTlkAktQpC0CSOmUBSFKnLABJ6pQFIEmdWtV3AuvwXbBnz+j7uHjr1tH3IWn98QhAkjplAUhSpywASeqUBSBJnbIAJKlTMxVAkmOSXJ7ktiS3JjkjycYk1yS5vd0eO3ZYSdJwZj0C+CDwD1X1DODZwK3AhcCuqjoF2NXmJUlHiCULIMmTgV8ELgGoqu9X1QPAOcDOttlO4NyxQkqShjfLEcDJwALw8SRfSfLRJE8ANlXVvW2b+4BNY4WUJA1vlgLYADwH+HBVnQZ8j0Wne6qqgDrYnZNsT7I7ye6FhYWV5pUkDWSWAtgH7Kuq69r85UwK4f4kmwHa7f6D3bmqdlTVfFXNz80N/kftJUnLtGQBVNV9wDeSHPjAmLOAW4ArgW1t2TbgilESSpJGMeuHwb0ZuDTJ0cCdwBuYlMdlSc4H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HBMkgPvRZj+KImHPmairX8y8C1m/PiJZdoH7Kuq69r85UwK4f4km1uWzcD+xRkXZRkr40uAr1fVQlX9APgsk3FdT2N4wFBjdk+bHiVrkl8DXgW8rj3xlpPxWxz6e7BcP8ek6G9sz5kTgS8n+Zll5BtzDPcBn62JLzI5uj9+GRnHGMMDtjF5rgD8LZNPMWYZGQcZxySPYfLL/9KqOpBr7Z4vKzmHtczzXi/i4YvAf8sjL/z8Vpv+bR55AfOyNv0sHnlx6U6GvQj8b0w+dAngD4D3ta/pCzTvbdOv5JEXaL7Ylm9kci3h2Pb1dWDjANmeB9wM/GTb507gzethDPnx866DjRk/flHrFQNlPBu4BZhbtN1Bx4fJ/3bvbMsOXMB81qP9HK8k36J1d/HwNYD1NIa/AfxRm346k9MSWasxPETGW4EXtemzgOvXahzb/f4K+MCi5Wv2fBnkF+dhDsKLeLgAntoC720/AAdeTfC4Nr+3rX/q1P3fxeSVBHtYxqsZlsh2KrAb+Crwd21wj2Ny8fp2Jq94ODDQYfIHce4AvgbMTz3OG1v2vcAbBsz3h8BtwE3AX7cn2JqOIfBJJtckfsDkf4TnDzlmwHz7994B/DmLLtKvIONeJr+wbmhfH1lqfJi8KuM/27p3TS0/6PdgJfkWrb+LhwtgPY3h0cDftMf+MnDmWo3ho2R8IZNrZTcyOd/+3LUax5almPx+OfBz9wrW8PniO4ElqVO+E1iSOmUBSFKnLABJ6pQFIEmdsgAkqVMWgCR1ygKQpE5ZAJLUqf8Hl2SgKPbavgUAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.hist(data, color='c', rwidth=0.8, alpha=0.6)\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX8AAAD8CAYAAACfF6SlAAAABHNCSVQICAgIfA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Dbgbl58y3YN4y2dO9ubXsOWD7n8X5+p6lv3rR7eHSf/1rpv98D/qQNP5vR7oislf4D7gBOasMvAbatVv+15f4a+Ni89lVdR6YOy0lfPDb8n9mK39l+EPacQfDENr6zTX/m2PLvYnT2wA6WefR9kbqOAbYCtwB/1zr5GYwOUt/J6AyHPR0eRg+0uQu4Fdg09jlntLp3Ar87YH3vAb4BbAf+pq1kq9p/wKWMjkH8mNEW4ZlD9hmwqf177wL+nHkH5CesbyejwLqpvT65WN8wOgvjm23au8baF+z/aeqbN/0eHg3/tdJ/BwJ/2z73RuDktdR/wAsZHQ+7mdH+9eetYv+9kNEunVvGft5OZZXXEa/wlaQOeYWvJHXI8JekDhn+ktQhw1+SOmT4S1KHDH9J6pDhL0kdMvwlqUP/DzK0bYljCA6uAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# 实际开发中，bins用得很多，表示分成了20个区间来统计画图\n",
    "plt.hist(data, color='c', rwidth=0.8, alpha=0.6, bins=20) \n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "15"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(data[data<4900])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "96"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(data[(data>7000) & (data<9500)])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 箱线图--boxplot"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([1, 2, 3, 4, 5, 6, 7, 8, 9])"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "data = np.arange(1, 10)\n",
    "data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAW4AAAD8CAYAAABXe05zAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAACnBJREFUeJzt3V+Ipfddx/HPt9lIm9g/2WQq2nbcQiEIgbZ6kGptwcRKraWCeJFCBUWcG9FEBNGr1EuhiF6IMLRawRrRNLkpWFKwtRQ0cjaNuslGwdrUxGpOMLVNBNvErxc7C+lmZs8zu/PM7G/m9YIDMzvPOfPdZXjvs799nvOr7g4A43jFUQ8AwP4IN8BghBtgMMINMBjhBhiMcAMMRrgBBiPcAIMRboDBnJrjRW+55ZY+c+bMHC8NcCydPXv2me7emHLsLOE+c+ZMlsvlHC8NcCxV1RNTj7VUAjAY4QYYjHADDEa4AQYj3ACDmRTuqrqrqs5V1aNVdffcQwGwt7Xhrqrbkvxikh9M8tYk76+qt8w9GAC7m3LG/X1JHuru/+nuF5L8dZKfnncsAPYyJdznkryrqm6uqhuSvC/Jmy49qKq2qmpZVcvVanXQc8LLVNWhPeBasvbOye4+X1W/neTBJM8neSTJi7sct51kO0kWi4UdiJndlWx0XVVX9Dy4lkz6z8nu/lh3/0B3vzvJs0n+ed6xANjLpPcqqarXd/fTVbWZC+vb75h3LAD2MvVNpj5ZVTcn+VaSX+rur804EwCXMSnc3f2uuQcBYBp3TgIMRrgBBiPcAIMRboDBCDfAYIQbYDDCDTAY4QYYjHADDEa4AQYj3ACDEW6AwQg3wGCEG2Awwg0wmEnhrqpfrapHq+pcVd1bVa+cezAAdrc23FX1hiS/kmTR3bcluS7JnX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quVqtDmY6AF5mcrir6juTfDLJ3d399Uu/3t3b3b3o7sXGxsZBzgjAS0wKd1VdnwvR/kR33z/vSABczpSrSirJx5Kc7+7fmX8kAC5nyhn3O5P8bJLbq+qRncf7Zp4LgD2svRywu7+QpA5hFgAmcOckwGCEG2Awwg0wGOEGGIxwAwxGuAEGI9wAgxFugMEIN8BghBtgMMINMBjhBhiMcAMMRrgBBiPcAIOZsgPOH1bV01V17jAGAuDyppxxfzzJe2eeA4CJ1oa7uz+f5L8OYRYAJrDGDTCYtXtOTlVVW0m2kmRzc/OgXhb2VHVlW6FeyfO6+4q+F8zhwM64u3u7uxfdvdjY2Diol4U9dfehPeBaYqkEYDBTLge8N8nfJLm1qp6sql+YfywA9rJ2jbu7P3gYgwAwjaUSgMEIN8BghBtgMMINMBjhBhhMzXFzQVWtkjxx4C8MV++WJM8c9RCwi+/t7kl3L84SbrhWVdWyuxdHPQdcDUslAIMRboDBCDcnzfZRDwBXyxo3wGCccQMMRrg5EWx6zXEi3JwUH49NrzkmhJsTwabXHCfCDTAY4QYYjHADDEa4AQYj3JwINr3mOHHnJMBgnHEDDEa4AQYj3ACDEW6AwQg3wGCEG2Awwg0wGOEGGMz/AxOwar45/f4YAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.boxplot(data)\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([-1.74976547,  0.3426804 ,  1.1530358 , -0.25243604,  0.98132079,\n",
       "        0.51421884,  0.22117967, -1.07004333, -0.18949583,  0.25500144,\n",
       "       -0.45802699,  0.43516349, -0.58359505,  0.81684707,  0.67272081,\n",
       "       -0.10441114, -0.53128038,  1.02973269, -0.43813562, -1.11831825,\n",
       "        1.61898166,  1.54160517, -0.25187914, -0.84243574,  0.18451869,\n",
       "        0.9370822 ,  0.73100034,  1.36155613, -0.32623806,  0.05567601,\n",
       "        0.22239961, -1.443217  , -0.75635231,  0.81645401,  0.75044476,\n",
       "       -0.45594693,  1.18962227, -1.69061683, -1.35639905, -1.23243451,\n",
       "       -0.54443916, -0.66817174,  0.00731456, -0.61293874,  1.29974807,\n",
       "       -1.73309562, -0.9833101 ,  0.35750775, -1.6135785 ,  1.47071387,\n",
       "       -1.1880176 , -0.54974619, -0.94004616, -0.82793236,  0.10886347,\n",
       "        0.50780959, -0.86222735,  1.24946974, -0.07961125, -0.88973148,\n",
       "       -0.88179839,  0.01863895,  0.23784462,  0.01354855, -1.6355294 ,\n",
       "       -1.04420988,  0.61303888,  0.73620521,  1.02692144, -1.43219061,\n",
       "       -1.8411883 ,  0.36609323, -0.33177714, -0.68921798,  2.03460756,\n",
       "       -0.55071441,  0.75045333, -1.30699234,  0.58057334, -1.10452309,\n",
       "        0.69012147,  0.68689007, -1.56668753,  0.90497412,  0.7788224 ,\n",
       "        0.42823287,  0.10887199,  0.02828363, -0.57882582, -1.1994512 ,\n",
       "       -1.70595201,  0.36916396,  1.87657343, -0.37690335,  1.83193608,\n",
       "        0.00301743, -0.07602347,  0.00395759, -0.18501411, -2.48715154])"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "np.random.seed(100)\n",
    "data = np.random.normal(size=100)\n",
    "data"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXQAAAD8CAYAAABn919SAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAADMpJREFUeJzt3X+s3fVdx/HnSzqibES29LgpcL1otiZIZjB3yiTqBmjqSlY1M4E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97EAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.hist(data, rwidth=0.8)\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [],
   "source": [
    "data = np.concatenate([data, [4, 7, 8, 9, -4]])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXYAAAD8CAYAAABjAo9vAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAADMFJREFUeJzt3WGI5Pddx/HPx7kpa2rSXriVYpL1AkqZMghtBlG7qNOEEjWYJ4JdrFAd2UeuUSqlcR6kfTD4QFBkFWXpVB8Ypg9ipSJVm8IUGdDiXpLqJVulxG571dIrOayoa+aWrw9u7+iG7e3t/H87/5vvvl9wkJ393+//uyfv/Pn95//7OyIEAMjju+qeAACgLMIOAMkQdgBIhrADQDKEHQCSIewAkAxhB4BkCDsAJEPYASCZc3Wc9MKFC3Hx4sU6Tg0AC+vSpUvfjIjl446rJewXL17U9vZ2HacGgIVle/dOjmMpBgCSIewAkAxhB4BkCDsAJEPYASAZwg5IGo1GarfbajQaarfbGo1GdU8JmFktX3cE7iaj0Uj9fl/D4VCrq6uaTCbq9XqSpLW1tZpnB5yc63g1XqfTCb7HjrtFu93W5uamut3urc/G47E2NjZ0+fLlGmcGHGb7UkR0jj2OsOOsazQa2tvbU7PZvPXZdDrV0tKS9vf3a5wZcNidhp01dpx5rVZLk8nk0GeTyUStVqumGQHVEHacef1+X71eT+PxWNPpVOPxWL1eT/1+v+6pATPh5inOvJs3SDc2NrSzs6NWq6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YI+KxiGi/8Y+kVyU9LOkLB1F/UNILto/6n4AiYisiOhHRWV5ePtm/BjhFrVZLk8nk0GeTyUStVqumGQHVzLwUExH/HBHfGxEXI+KipCuS3hURXy82O2AO+v2+er2exuOxptOpxuOxer2e+v1+3VMDZlLi5imw0G7eIN3Y2NDOzo5arZYGgwE3TrGwjl1jPw2dTie2t7fnfl4AWGTF1tgBAIuFsANAMoQdAJIh7ACQDGEHgGRq+VaM7auSePQUd6MLko58ehq4C3x/RBz7hGctYQfuVra37+TrZMDdjKUYAEiGsANAMoQdOGyr7gkAVbHGDgDJcMUOAMkQdkCS7Y/b/obty3XPBaiKsAM3/Kmkx+ueBFACYQckRcTfSXqt7nkAJRB2AEiGsANAMoQdAJIh7ACQDGEHJNkeSfp7SW+3fcV2r+45AbPiyVMASIYrdgBIhrADQDKEHQCSIewAkAxhB4BkCDsAJEPYASAZwg4Ayfw/MixzOmPR6McAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.boxplot(data)\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXYAAAD8CAYAAABjAo9vAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAACztJREFUeJzt3V+I3tldx/HP1yRlbe2flB0p7u6YglJSRqE6FLVBSVukarE3grtYoTqSK2OVQmmdi20vciX4hyhK6FQvLOlFrShSta1OkQEtJt2qaVOl1G67raUpG6hY12aXrxfJLpslmz/P75d5MievFwR2nvnNOecivPeXM8/vPNXdAWAc37HsBQAwL2EHGIywAwxG2AEGI+wAgxF2gMEIO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vnXlpfuTfDXJa7v7a9f72fX19T5z5sxC8wLcrarqbHev3+i6G96xP5/u/rck3/2sCb+YZL27v7HomABM533sAINZ+I79ubr70FxjAbA4d+wAgxF2gMEIO8BghB1gMMIOMJiFH1CaNGnVhSSP7vrEcGP3JvEsBneq7+3ulRtdtJSww52qqs7czJN9cCezFQMwGGEHGIyww9VOLXsBMJU9doDBuGMHGIywQ5Kqen9Vfb2qzi17LTCVsMNlf5LkTcteBMxB2CFJd/9DkseXvQ6Yg7ADDEbYAQYj7ACDEXaAwQg7JKmq00n+McmrquqxqtpY9ppgUZ48BRiMO3aAwQg7wGCEHWAwwg4wGGEHGIywAwxG2AEGI+wAg/l/JhwGcL4AJkcAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.boxplot(data, whis=3)      # whis默然为1.5倍\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXYAAAD8CAYAAABjAo9vAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAADYxJREFUeJzt3X+I5Hd9x/HX27mRbWxiLr09Qr2MGzDKhFGrGWwTF9O5CxI1NgGNZqnij5EFJWMqFjF+ITmFoX8ILWVTKotjKxgm5JdYJVpjOiqDP+huEs3l1qpE155VvPQOldY1c8u7f9ze0g2b29v5fna+N+99PuAg+93vfb6f5I9nvnzm+/2MubsAAHE8r+gJAADSIuwAEAxhB4BgCDsABEPYASAYwg4AwRB2AAiGsANAMIQdAILZU8RF9+3b51NTU0VcGgDG1uLi4tPuPrnVeYWEfWpqSgsLC0VcGgDGlpktn8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n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.boxplot(data, showmeans=True, meanline=True)\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXYAAAD8CAYAAABjAo9vAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAADMlJREFUeJzt3WGI5Pddx/HPx7kpa2rSXriVYpL1AkqZMghtBlG7qNOEEjWYJ4JdrFAd2Udu01IpjfMg7YPBB4IiqyhLp/rAMH0QKxWp2hSmyIAW95JUL9kqJXbbay29ksOKumZu+frg9q7dsLndnf/v9r/z3fcLDrJzf37/b47kfX9+M///OCIEAMjj++oeAABQFmEHgGQIOwAkQ9gBIBnCDgDJEHYASIawA0AyhB0AkiHsAJDMuTpOeuHChbh48WIdpwaAuXXp0qVvR8TiYcfVEvaLFy9qc3OzjlMDwNyyvX2U49iKAYBkCDsAJEPYASAZwg4AyRB2AEiGsAOSRqOR2u22Go2G2u22RqNR3SMBM6vl447AaTIajdTv9zUcDrW8vKzJZKJerydJWllZqXk64Phcx1fjdTqd4HPsOC3a7bbW19fV7XZvvTYej7W2tqbLly/XOBmwn+1LEdE59DjCjrOu0WhoZ2dHzWbz1mvT6VQLCwva3d2tcTJgv6OGnT12nHmtVkuTyWTfa5PJRK1Wq6aJgGoIO868fr+vXq+n8Xis6XSq8XisXq+nfr9f92jATHjzFGfezTdI19bWtLW1pVarpcFgwBunmFvssQPAnGCPHQDOKMIOAMkQdgBIhrADQDKEHQCSIewAkAxhB4BkioTd9gdtv2j7su2R7YUS6wInhcf2IpPKYbd9n6T3S+pERFtSQ9J7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ae6gVqulyWSy77XJZKJWq1XTREA1M2/FRMS/RMQPRsTFiLgo6Yqkd0TEN4tNB5yAfr+vXq+n8Xis6XSq8XisXq+nfr9f92jATEq8eQrMtZtvkK6trWlra0utVkuDwYA3TjG3Dt1jvxM6nU5sbm6e+HkBYJ4V22MHAMwXwg4AyRB2AEiGsANAMoQdAJKp5VMxtq9K4tZTnEYXJB149zRwCvxwRBx6h2ctYQdOK9ubR/k4GXCasRUDAMkQdgBIhrAD+23UPQBQFXvsAJAMV+wAkAxhByTZ/oTtb9m+XPcsQFWEHbjhzyQ9WvcQQAmEHZAUEX8v6ZW65wBKIOwAkAxhB4BkCDsAJEPYASAZwg5Isj2S9A+S3mr7iu1e3TMBs+LOUwBIhit2AEiGsANAMoQdAJIh7ACQDGEHgGQIOwAkQ9gBIBnCDgDJ/D/pSHM658wMlgAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.boxplot(data, widths=0.8)\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXYAAAD8CAYAAABjAo9vAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAADHdJREFUeJzt3VGIZNldx/Hfz5oK7cY1CUxLyO6WvaCECoWQbCFqGrWyS1h1cV8E0xghSUk/2a6SELLWQ5KHwgdBkVaUJhV9cKk8rJGIRM0GKkiBBnt2Nzq7nUhY08lEQyYIiajt1jR/H6Zn2F56p6frnqk79e/vBwa2b98598zLdy/n1j3liBAAII/vq3sCAICyCDsAJEPYASAZwg4AyRB2AEiGsANAMoQdAJIh7ACQD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GA8AML/KYbf9gKR3S/p69ekA9RiPx+p0Omo0Gup0OhqPx3VPCZhbie88/X1JH5b0mQJjAQs3Ho81GAw0Go20vr6u6XSqfr8vSdrY2Kh5dsDZVbpjt/24pG9GxJcKzQdYuOFwqNFopF6vp2azqV6vp9FopOFwWPfUgLn4tG9xt/15SW8+4VcDSb8t6d0R8V3bX5PUjYjvvMY4m5I2JanVaj20v79fZd5AMY1GQwcHB2o2mzePzWYzrays6PDwsMaZAcfZvhQR3dPOO/WOPSIeiYjOq/9IeknSg5K+dBT1+yU9a/uk/wkoInYiohsR3dXV1bP9a4A7qN1uazqdHjs2nU7VbrdrmhFQzdxLMRHxLxHxQxGxFhFrkq5IekdEfKvY7IAFGAwG6vf7mkwmms1mmkwm6vf7GgwGdU8NmEuJh6fAUrvxgHRra0t7e3tqt9saDoc8OMXSOnWN/U7odruxu7u78OsCwDIrtsYOAFguhB0AkiHsAJAMYQeAZAg7ACRTy6dibF+VxKunuBtdlHTi29PAXeCHI+LUNzxrCTtwt7K9ezsfJwPuZizFAEAyhB0AkiHswHE7dU8AqIo1dgBIhjt2AEiGsAOSbH/S9rdtX657LkBVhB247s8kPVr3JIASCDsgKSL+XtJ/1j0PoATCDgDJEHYASIawA0AyhB0AkiHsgCTbY0n/IOmttq/Y7tc9J2BevHkKAMlwxw4AyRB2AEiGsANAMoQdAJIh7ACQDGEHgGQIOwAkQ9gBIJn/BywMXgYqDkWYAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plt.boxplot(data, showbox=False)\n",
    "plt.show()"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.0"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
